package com.example.siyun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 权限操作日志表
 */
public class PeoperateLog {
    private int id;
    /* 管理员名称 */
    private String managename;
    /* 操作列表 */
    private String operatelist;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    /* 操作时间 */
    private Timestamp operatetime;
    /* 操作类型 */
    private Integer operatetype;
    /* 标记 */
    private String remark;
    /* 时间 */
    private String time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getManagename() {
        return managename;
    }

    public void setManagename(String managename) {
        this.managename = managename;
    }

    public String getOperatelist() {
        return operatelist;
    }

    public void setOperatelist(String operatelist) {
        this.operatelist = operatelist;
    }

    public Timestamp getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(Timestamp operatetime) {
        this.operatetime = operatetime;
    }

    public Integer getOperatetype() {
        return operatetype;
    }

    public void setOperatetype(Integer operatetype) {
        this.operatetype = operatetype;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Peoperatelog{" +
                "id=" + id +
                ", managename='" + managename + '\'' +
                ", operatelist='" + operatelist + '\'' +
                ", operatetime=" + operatetime +
                ", operatetype=" + operatetype +
                ", remark='" + remark + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
